package managesystem.poverty;

/**
 * @author The setting sun
 * @version 1.0
 * @title: PovertyBean
 * @description: TODO
 * @date 2021/12/4 11:14
 */
public class Poverty {
    private int pid;
    private Integer hid;
    private Integer iid;
    private String pname;
    private int page;
    private String psex;
    private String pnation;
    private String birthplace;
    private String reason;
    private String health;
    private String educated;
    private String date;

    public Poverty() {
    }

    public Poverty(int pid, Integer hid, Integer iid, String pname, int page, String psex, String pnation, String birthplace, String reason, String health, String educated, String date) {
        this.pid = pid;
        this.hid = hid;
        this.iid = iid;
        this.pname = pname;
        this.page = page;
        this.psex = psex;
        this.pnation = pnation;
        this.birthplace = birthplace;
        this.reason = reason;
        this.health = health;
        this.educated = educated;
        this.date = date;
    }

    public int getPid() {
        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }

    public Integer getHid() {
        return hid;
    }

    public void setHid(int hid) {
        this.hid = hid;
    }

    public Integer getIid() {
        return iid;
    }

    public void setIid(int iid) {
        this.iid = iid;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public String getPsex() {
        return psex;
    }

    public void setPsex(String psex) {
        this.psex = psex;
    }

    public String getPnation() {
        return pnation;
    }

    public void setPnation(String pnation) {
        this.pnation = pnation;
    }

    public String getBirthplace() {
        return birthplace;
    }

    public void setBirthplace(String birthplace) {
        this.birthplace = birthplace;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getHealth() {
        return health;
    }

    public void setHealth(String health) {
        this.health = health;
    }

    public String getEducated() {
        return educated;
    }

    public void setEducated(String educated) {
        this.educated = educated;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    @Override
    public String toString() {
        return "Poverty{" +
                "pid=" + pid +
                ", hid=" + hid +
                ", iid=" + iid +
                ", pname='" + pname + '\'' +
                ", page=" + page +
                ", psex='" + psex + '\'' +
                ", pnation='" + pnation + '\'' +
                ", birthplace='" + birthplace + '\'' +
                ", reason='" + reason + '\'' +
                ", health='" + health + '\'' +
                ", educated='" + educated + '\'' +
                ", date='" + date + '\'' +
                '}';
    }
}
